{extend name="layout"}
{block name="content"}
<div class="box-header with-border">
    <h3 class="box-title">角色列表</h3>
</div>
<a type="button" class="btn " href="/admin/roles/create">增加角色</a>
<!-- /.box-header -->
<div class="box-body">
    <table class="table table-bordered">
        <tbody>
        <tr>
            <th style="width: 10px">#</th>
            <th>角色名称</th>
            <th>角色描述</th>
            <th>操作</th>
        </tr>
        {volist name='auth_group' id='_group'}
        <tr>
            <td>{$_group.id}.</td>
            <td>{$_group.title}</td>
            <td>{$_group.description}</td>
            <td>
                <a type="button" class="btn" href="/admin/roles/{$_group.id}/permission">权限管理</a>
            </td>
        </tr>
        {/volist}
        <!--<tr>
            <td>3.</td>
            <td>topic-manager</td>
            <td>专题管理员</td>
            <td>
                <a type="button" class="btn" href="/admin/roles/3/permission">权限管理</a>
            </td>
        </tr>
        <tr>
            <td>4.</td>
            <td>notice-manager</td>
            <td>通知管理员</td>
            <td>
                <a type="button" class="btn" href="/admin/roles/4/permission">权限管理</a>
            </td>
        </tr>-->
        </tbody>
    </table>
</div>

{/block}